home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 19.zip
/
BS1 part 19
/
Lattice C disk 4.adf
/
Compiler_Headers
/
graphics
/
display.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-25
|
1KB
|
41 lines
#ifndef GRAPHICS_DISPLAY_H
#define GRAPHICS_DISPLAY_H
/*
** $Filename: graphics/display.h $
** $Release: 1.3 $
**
** include define file for display control registers
**
** (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
** All Rights Reserved
*/
/* bplcon0 defines */
#define MODE_640 0x8000
#define PLNCNTMSK 0x7 /* how many bit planes? */
/* 0 = none, 1->6 = 1->6, 7 = reserved */
#define PLNCNTSHFT 12 /* bits to shift for bplcon0 */
#define PF2PRI 0x40 /* bplcon2 bit */
#define COLORON 0x0200 /* disable color burst */
#define DBLPF 0x400
#define HOLDNMODIFY 0x800
#define INTERLACE 4 /* interlace mode for 400 */
/* bplcon1 defines */
#define PFA_FINE_SCROLL 0xF
#define PFB_FINE_SCROLL_SHIFT 4
#define PF_FINE_SCROLL_MASK 0xF
/* display window start and stop defines */
#define DIW_HORIZ_POS 0x7F /* horizontal start/stop */
#define DIW_VRTCL_POS 0x1FF /* vertical start/stop */
#define DIW_VRTCL_POS_SHIFT 7
/* Data fetch start/stop horizontal position */
#define DFTCH_MASK 0xFF
/* vposr bits */
#define VPOSRLOF 0x8000
#endif /* GRAPHICS_DISPLAY_H */